package com.yincheng.oes.business.model.query;

import com.yincheng.oes.business.util.Page;
import com.yincheng.oes.sso.util.UserUtils;

/**
 * @Description 我的下载列表页查询实体
 * @Author 446948434@qq.com
 * @Date 2021/10/17 7:20 下午
 * @Version 1.0
 */
public class DownloadListReq {
    /**
     * 文件名
     */
    private String fileName;

    private Page page;

    /**
     * 获取用户id
     * @return
     */
    public String getUserId() {
        return UserUtils.getUser().getUserId();
    }

    @Override
    public String toString() {
        return "DownloadListReq{" +
                "fileName='" + fileName + '\'' +
                ", page=" + page +
                '}';
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }

}
